package com.telit.firecommand.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 火点对应一张图数据
 * </p>
 *
 * @author yummy
 * @since 2022-04-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="CommFireOnemap对象", description="火点对应一张图数据")
public class CommFireOnemap implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID自增")
    private Long id;

    @ApiModelProperty(value = "坡向")
    private String poXiang;

    @ApiModelProperty(value = "坡位")
    private String poWei;

    @ApiModelProperty(value = "坡度")
    private Integer poDu;

    @ApiModelProperty(value = "地类")
    private String diLei;

    @ApiModelProperty(value = "森林类别")
    private String senLinLb;

    @ApiModelProperty(value = "龄组")
    private String lingZu;

    @ApiModelProperty(value = "优势树种")
    private String youShiSz;

    @ApiModelProperty(value = "火情ID")
    private Long fireId;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
/*
    @ApiModelProperty(value = "坡向中文名称")
    private String poXiangName;

    @ApiModelProperty(value = "坡位中文名称")
    private String poWeiName;

    @ApiModelProperty(value = "坡度中文名称")
    private String puDuName;

    @ApiModelProperty(value = "地类中文名称")
    private String diLeiName;

    @ApiModelProperty(value = "森林类别中文名称")
    private String senLinLbName;

    @ApiModelProperty(value = "龄组中文名称")
    private String lingZuName;

    @ApiModelProperty(value = "优势树种中文名称")
    private String youShiSzName;*/
}
